package org.example.frw.canal.binlog.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.example.frw.canal.HashValue;

@Getter
@Setter
@ToString(callSuper = true)
public class CategoryBinlogEntity extends BaseBinlogEntity implements HashValue {
    private Long id;
    private String categoryName;
    private String path;
    private Boolean isDisplay;
    private Integer sort;
    private String unit;

    @Override
    public String hashValue() {
        return String.valueOf(id);
    }
}
